<!DOCTYPE html>
<html lang="br">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>..::Pet Shop::..</title>
        <!--<link rel="icon" href="../../favicon.ico">-->
        <!-- Bootstrap -->
        <link href="css/bootstrap.min.css" rel="stylesheet">
        <!-- Custom styles for this template -->
        <link href="css/signin.css" rel="stylesheet">

        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
          <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
        <![endif]-->
    </head>
    <body>
        <?php include './config_bd.php'; 
        
//        $md5 = md5("admin");
//        
//        $sql = "INSERT INTO funcionario( login, senha, nome, cpf, telefone, endereco, salario, funcao, status)"
//                . " VALUES ('admin', '".$md5."', 'administrador', '000.000.000-00', '(55)3223-3333', 'Rua Appel', 2000.00 , 'Atendente', '1' )";
////        echo $sql . '<br>';
//        
//        mysql_query($sql) or die ("Erro quando inseri");

        ?>
        <div class="container">
            <form class="form-signin" role="form" name="input" action="login.php" method="post">

                <h2 class="form-signin-heading">Login:</h2>
                <div class="form-group">
                    <input type="text" name="login" class="form-control" placeholder="Login" required autofocus>
                </div>
                <div class="form-group">
                    <input type="password" name="senha" class="form-control" placeholder="Senha" required>
                </div>
                <!--<label class="checkbox">
                    <input type="checkbox" value="remember-me"> Remember me
                    </label>-->
                <button class="btn btn-lg btn-success btn-block" type="submit"><span class="glyphicon glyphicon-user"></span> Logar-se</button>
            </form>

        </div> <!-- /container -->

        <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
        <!-- Include all compiled plugins (below), or include individual files as needed -->
        <script src="js/bootstrap.min.js"></script>
    </body>
</html>

